Repository navigation
fix(validator): offloaded bench sweeps resolve uv on the host (#903) - #928
Merged
Merged
Conversation
build_bench_remote_command hard-coded ~/.local/bin/uv; a sweep host whose image puts uv elsewhere (Lium template: /usr/local/bin/uv) failed every offloaded lane A sweep as infra_failed, while the lane D bench path (shutil.which) worked. The default now resolves on the host: `command -v uv`, else ~/.local/bin/uv. An explicit uv_bin is used as given. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01SG5aamoFze4bkhr1suMufY
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01SG5aamoFze4bkhr1suMufY
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
…d PR) The tests now check what the remote uv word expands to in bash on a host (PATH first, ~/.local/bin/uv fallback, explicit uv_bin as given, still --frozen), so each fails on BASE with an assertion. PATHS: cascade/validator/eval_offload.py rides along. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01BMT4D7eZUKUF2gocYLVFmj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #903.
build_bench_remote_commandhard-coded~/.local/bin/uv. A sweep host whose image puts uv elsewhere (the Lium template has/usr/local/bin/uv) failed every offloaded lane A sweep asinfra_failed, while lane D's bench path, which usesshutil.which, worked on the same host.When the caller keeps the default, the remote shell now resolves uv itself:
command -v uv, else~/.local/bin/uv. An explicituv_binis used as given. The command still runs--frozenagainst the sidecar's checked-in lock, so reports are unchanged.One combined PR (tests + code; replaces the split #929). Tests:
tests/accept/w3b6a/test_w3b6a_offload_uv_resolve.py— 3 new tests that expand the remote uv word in bash on a fake host (PATH first,~/.local/bin/uvfallback, explicituv_binas given, CUDA/timeout prefix and--frozenintact). All fail on BASE with an AssertionError, pass on HEAD. PATHS:cascade/validator/eval_offload.pyadded to W3b6a.check-pr: MODE combined. Local: w3b6a accept + eval-offload + sweep concurrency units 79 passed.Exposure: the offloaded lane A sweep (
run_bench_via_host_many) runs only on the MAIN validator (validator_bench: sweep mode needsst["main"]; everyone else replays its signed rows).gift_rows_via_hostshares the builder but the GIFT gate is off and the change only picks which uv binary runs the same frozen lock. Main-validator only, no external update.🤖 Generated with Claude Code
https://claude.ai/code/session_01BMT4D7eZUKUF2gocYLVFmj